package com.yx.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.yx.system.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/** 角色 Mapper 接口
 * Created by wuye on 2017/11/24.
 */
@Mapper
@Repository
public interface SysRoleDao extends BaseMapper<SysRole> {

    List<SysRole> queryPageList(Page<SysRole> page, Map<String, Object> map);

    List<SysRole> queryList(Map<String, Object> map);

    int deleteBatch(Object[] id);

}
